<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工具向导: 使用 Rational XDE Developer 构造用例模型</title>
<meta content="ToolMentor" name="uma.type">
<meta content="structuring_the_use_case_model_rup_xde_uc" name="uma.name">
<meta content="使用 Rational XDE Developer 构造用例模型" name="uma.presentationName">
<meta content="Tool:rup_xde:Rational XDE Developer" name="uma.category">
<meta name="element_type" content="tool_mentor">
<meta content="Rational XDE Developer" name="tool">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_gpYSoAILEdq-_NKqZM1EhA", "_qS-iwAIOEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D0259E78-EE08-4DBC-93AF-F056054B4A05}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_U5tiUAISEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D0259E78-EE08-4DBC-93AF-F056054B4A05}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D0259E78-EE08-4DBC-93AF-F056054B4A05}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D0259E78-EE08-4DBC-93AF-F056054B4A05}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{D0259E78-EE08-4DBC-93AF-F056054B4A05}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工具向导：使用 Rational XDE Developer 构造用例模型</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../../images/toolmentor.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">此工具向导描述如何使用 Rational XDE Developer 执行用例模型的构造。</td>
</tr>
<tr>
<td>工具：<a href="./../../../core.base_rup/tools/rup_xde_D81FFA70.html" guid="{303A82D2-E3AB-4501-8563-0D4D43782AF9}">Rational XDE Developer</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">相关元素</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../core.base_rup/tasks/structure_use_case_model_93D8F44.html" guid="{F7D9D038-B184-43CC-9353-15BA154F87B5}">构造用例模型</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">主要描述</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="Top" name="Top" msnavigation="msnavigation"></a> 
<h3>
    概述&nbsp;
</h3>
<p>
    此工具向导中的步骤与相应任务中的那些步骤相匹配。Rational XDE&trade; 联机帮助中主题的链接标有 <img height="16" alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif"     width="16" />。
</p>
<p>
    此工具向导假设已经按照<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/finding_actors_and_use_cases_rup_xde_uc_A5B7A9F7.html" guid="{0F9F340D-52D9-4054-A26E-9D557BB10203}">工具向导：使用 Rational XDE 查找参与者和用例</a>中列出的以下步骤创建了已填充参与者和用例的“用例模型”。
</p>
<p>
    此工具向导由以下步骤组成：
</p>
<ul>
    <li>
        <a href="#Identify Common Requirements">识别常见的需求</a>
    </li>
    <li>
        <a href="#Establish Include-Relationships Between Use Cases">建立用例间的包含关系</a>
    </li>
    <li>
        <a href="#Establish Extend-Relationships Between Use Cases">建立用例间的扩展关系</a>
    </li>
    <li>
        <a href="#Establish Generalizations Between Use Cases">建立用例间的泛化关系</a>
    </li>
    <li>
        <a href="#Establish Generalizations Between Actors">建立参与者间的泛化关系</a>
    </li>
    <li>
        <a href="#Evaluate Your Results">评估结果</a>
    </li>
</ul>
<h3>
    <a id="Identify Common Requirements" name="Identify Common Requirements">识别常见的需求</a>&nbsp;
</h3>
<p>
    通用用例的共享可通过添加现有用例之间的关系或者创建新的用例来实现。要实现这一任务，请完成以下步骤：
</p>
<ol>
    <li>
        打开用例模型。
    </li>
    <li>
        浏览到包含用例的包。请参阅 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE&trade; Model Structure Guidelines</a>。
    </li>
    <li>
        在<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/finding_actors_and_use_cases_rup_xde_uc_A5B7A9F7.html" guid="{0F9F340D-52D9-4054-A26E-9D557BB10203}">工具向导：使用 Rational XDE 查找参与者和用例</a>中，创建了包含所有用例和参与者的用例图。浏览到该图。
    </li>
    <li>
        重构用例，并根据需要创建新的用例。在<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/finding_actors_and_use_cases_rup_xde_uc_A5B7A9F7.html" guid="{0F9F340D-52D9-4054-A26E-9D557BB10203}">工具向导：使用 Rational XDE 查找参与者和用例</a>中描述了使用 Rational XDE 创建新用例的过程。在<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/detailing_a_use_case_rup_xde_uc_38C499A4.html" guid="{7F834229-4568-48CB-B107-3488E8AA2CAA}">工具向导：使用 Rational XDE 详细描述用例</a>中可找到这些新用例的详细信息。
    </li>
    <li>
        添加用例之间的关系。以下章节描述如何添加每种关系。
    </li>
    <li>
        记录每种关系。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Documenting Model Elements</i> 
        <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_doc_model_elem");   -->。
    </li>
</ol>
<p>
    创建其他用例图，并根据需要封装它们来管理复杂性。参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Diagrams</i> 
    <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_add_dgm");   --><img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" />
    <i>Grouping Model Elements in Packages</i> 
    <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_group_mod_ele_package");   -->。
</p>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Working with Use-Case Diagrams</i> 
    <!--//ReferenceHelpTopic(topicTitle,"rs","rs_o_work_u_c_dgm");   -->。
</p>
<h3>
    <a id="Establish Include-Relationships Between Use Cases" name="Establish Include-Relationships Between Use Cases">建立用例间的包含关系</a>
</h3>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Include Relationship</i> 
    <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_add_include_relshp");   -->。
</p>
<h3>
    <a id="Establish Extend-Relationships Between Use Cases" name="Establish Extend-Relationships Between Use Cases">建立用例间的扩展关系</a>
</h3>
<p>
    请参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Extend Relationships</i> 
    <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_add_extend_relshp");   -->
</p>
<h3>
    <a id="Establish Generalizations Between Use Cases" name="Establish Generalizations Between Use Cases">建立用例间的泛化关系</a>
</h3>
<p>
    请参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Generalization Relationships</i> 
    <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_add_genrlztn_relshp");   -->
</p>
<h3>
    <a id="Establish Generalizations Between Actors" name="Establish Generalizations Between Actors">建立参与者间的泛化关系</a>
</h3>
<ol>
    <li>
        打开用例模型。
    </li>
    <li>
        浏览到包含参与者的包。请参阅 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a>。
    </li>
    <li>
        在<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/finding_actors_and_use_cases_rup_xde_uc_A5B7A9F7.html" guid="{0F9F340D-52D9-4054-A26E-9D557BB10203}">工具向导：使用 Rational XDE 查找参与者和用例</a>中，创建了用以捕获所有参与者的图。打开该图。
    </li>
    <li>
        重构现有参与者，并根据需要创建新的参与者。在<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/finding_actors_and_use_cases_rup_xde_uc_A5B7A9F7.html" guid="{0F9F340D-52D9-4054-A26E-9D557BB10203}">工具向导：使用 Rational XDE 查找参与者和用例</a>中说明了创建参与者的过程。
    </li>
    <li>
        添加参与者之间的泛化关系。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Generalization Relationships</i>
        <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_add_genrlztn_relshp");   -->。
    </li>
    <li>
        有选择性地记录每种泛化关系。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Documenting Model Elements</i> 
        <!--//ReferenceHelpTopic(topicTitle,"rs","rs_t_doc_model_elem");   -->。
    </li>
</ol>
<p>
    有关更多信息，请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Working with Use-Case Diagrams</i> 
    <!--//ReferenceHelpTopic(topicTitle,"rs","rs_o_work_u_c_dgm");   -->。
</p>
<h3>
    <a id="Evaluate Your Results" name="Evaluate Your Results">评估结果</a>
</h3>
<p>
    此步骤没有具体的 Rational XDE 指导信息。
</p></td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
